package com.bosi.exmple.chat.entity;

import com.bosi.exmple.message.Message;
import com.bosi.ws.server.WebSocketSession;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@ToString
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WSRequest implements Serializable {
    int id;
    String act;
    Object data;

    transient WebSocketSession session;
    Message message;
}
